<template>
  <div>
    <h1>登录页面</h1>
    <button @click="login">登录</button>
 
  </div>
</template>
<script setup>

import mylocal from '../local'

const login = function () {

  mylocal.setString("is_login","1");
};


</script>

<style scoped>
.tab-index {
  display: inline-block;
  width: 100px;
  height: 30px;
  margin: 0, 50px;
  color: aquamarine;
}
</style>